def qh(n: int) -> int:
    if n == 0:
        return 0
    return n + qh(n-1)
print(qh(300))